Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Getting Operating System Errors

The Error Manager provides routines that you can use to retrieve errors that are specific to a particular operating system. In general, these errors are posted by the underlying operating system in response to errors encountered when accessing a file, a resource, or a window system.

Q3MacintoshError_Get

You can use the Q3MacintoshError_Get function to get the most recent and the oldest unreported error generated by the Macintosh Operating System.

OSErr Q3MacintoshError_Get (OSErr *firstMacErr);
firstMacErr
On exit, the first unreported error from a Macintosh system software routine.

DESCRIPTION

The Q3MacintoshError_Get function returns, as its function result, the most recent error generated by the Macintosh system software. Q3MacintoshError_Get also returns, in the firstMacErr parameter, the first unreported error that occurred during a Macintosh system software routine.


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |